//
//  CALayer+YQButtonCALayer.m
//  YOUQUSHANGCHENG
//
//  Created by apple on 2016/10/25.
//  Copyright © 2016年 apple. All rights reserved.
//

#import "CALayer+YQButtonCALayer.h"

@implementation CALayer (YQButtonCALayer)
- (void) setBorderUIColor:(UIColor *)borderUIColor{
    self.borderColor = borderUIColor.CGColor;
}

- (UIColor *) borderUIColor{
    return [UIColor colorWithCGColor:(__bridge CGColorRef _Nonnull)(self.borderUIColor)];
}


-(void)setShadowUIColor:(UIColor*)color
{
    self.shadowColor = color.CGColor;
}

-(UIColor *)shadowUIColor
{
    return [UIColor colorWithCGColor:self.shadowColor];
}


@end
